package com.aier.admin.entity;

import java.sql.Timestamp;


/**
 * AdminUser entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class BuyMessage implements java.io.Serializable {

    // Fields

    private Long bid;
    private Long sid;
    private double price;
    private int count;
    private double total;
    private Timestamp bdate;
    private String name;

    /** default constructor */
    public BuyMessage() {
    }

    /** minimal constructor */
    public BuyMessage(Long bid) {
        this.bid = bid;
    }

    /** full constructor */
    public BuyMessage(Long bid,Long sid,double price,int count,double total,Timestamp bdate,String name) {
        this.bid = bid;
        this.sid = sid;
        this.price = price;
        this.count = count;
        this.total = total;
        this.bdate = bdate;
        this.name = name;
    }

    public Long getBid() {
        return bid;
    }

    public void setBid(Long bid) {
        this.bid = bid;
    }

    public Long getSid() {
        return sid;
    }

    public void setSid(Long sid) {
        this.sid = sid;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public Timestamp getBdate() {
        return bdate;
    }

    public void setBdate(Timestamp bdate) {
        this.bdate = bdate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}